/**
 * Created by aa on 2016/7/25.
 */
'use strict';
var utils=require('../common/utils');
var querystring = require('querystring');
var cac=utils.cac;

//重点产品介绍
const RECEIVE_PRODUCTITEM_CONTENT = 'RECEIVE_PRODUCTITEM_CONTENT';
//一般产品详情
const RECEIVE_HOME_PRODUCTDETAIL_CONTENT = 'RECEIVE_HOME_PRODUCTDETAIL_CONTENT';
//财富动态
const RECEIVE_HOME_DYNAMIC_DETAIL='RECEIVE_HOME_DYNAMIC_DETAIL';
//财富新闻
const RECEIVE_HOME_NEWS_DETAIL='RECEIVE_HOME_NEWS_DETAIL';
//图片轮播
const RECEIVE_HOME_SLIDER_ITEMS='RECEIVE_HOME_SLIDER_ITEMS';
//公告
const RECEIVE_HOME_NOTICE='RECEIVE_HOME_NOTICE';

//对外暴露变量
exports.RECEIVE_PRODUCTITEM_CONTENT=RECEIVE_PRODUCTITEM_CONTENT;
exports.RECEIVE_HOME_PRODUCTDETAIL_CONTENT=RECEIVE_HOME_PRODUCTDETAIL_CONTENT;
exports.RECEIVE_HOME_DYNAMIC_DETAIL=RECEIVE_HOME_DYNAMIC_DETAIL;
exports.RECEIVE_HOME_SLIDER_ITEMS=RECEIVE_HOME_SLIDER_ITEMS;
exports.RECEIVE_HOME_NEWS_DETAIL=RECEIVE_HOME_NEWS_DETAIL;
exports.RECEIVE_HOME_NOTICE=RECEIVE_HOME_NOTICE;


exports.receivepProductItemContent = cac(RECEIVE_PRODUCTITEM_CONTENT, 'data');
exports.receivepHomeProductDetailContent = cac(RECEIVE_HOME_PRODUCTDETAIL_CONTENT, 'homeProductDetailData');
exports.receiveHomeDynamicDetail=cac(RECEIVE_HOME_DYNAMIC_DETAIL,'homeDynamicDetail');
exports.receiveHomeNewsDetail=cac(RECEIVE_HOME_NEWS_DETAIL,'homeNewsDetail');
exports.receiveHomeSliderItems=cac(RECEIVE_HOME_SLIDER_ITEMS,'homeSliderItems');
exports.receiveHomeNotice=cac(RECEIVE_HOME_NOTICE,'homeNotice');